package com.zhihuishu.micro.course.openapi.app.dto;

import java.io.Serializable;
import java.util.List;

/**
 * 章对象
 * 
 * @author zhanglikun
 * @date 2016年1月13日 下午7:23:36
 */
public class ChapterWebDto implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer id; // 章ID

    private String name; // 章名称

    private Integer rank; // 章序号

    private Integer limitDay; // 计划学习天数

    private Integer studyHour; // 最低学时

    private Integer haveTest;// 是否有章测试(只是提供一个占位 不提供内容 具体内容由相应的项目提供)

    private List<LessonWebDto> lessons;

    private Long courseId;// 课程id

    private Long personalCourseId; // CC_COURSE_ID

    private String introduction; // 章简介

    private Integer originRank;// 初始位置

    private Integer targetRank;// 排序后位置

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getRank() {
        return rank;
    }

    public void setRank(Integer rank) {
        this.rank = rank;
    }

    public Integer getLimitDay() {
        return limitDay;
    }

    public void setLimitDay(Integer limitDay) {
        this.limitDay = limitDay;
    }

    public List<LessonWebDto> getLessons() {
        return lessons;
    }

    public void setLessons(List<LessonWebDto> lessons) {
        this.lessons = lessons;
    }

    public Integer getStudyHour() {
        return studyHour;
    }

    public void setStudyHour(Integer studyHour) {
        this.studyHour = studyHour;
    }

    public Long getCourseId() {
        return courseId;
    }

    public void setCourseId(Long courseId) {
        this.courseId = courseId;
    }

    public Long getPersonalCourseId() {
        return personalCourseId;
    }

    public void setPersonalCourseId(Long personalCourseId) {
        this.personalCourseId = personalCourseId;
    }

    public Integer getOriginRank() {
        return originRank;
    }

    public void setOriginRank(Integer originRank) {
        this.originRank = originRank;
    }

    public Integer getTargetRank() {
        return targetRank;
    }

    public void setTargetRank(Integer targetRank) {
        this.targetRank = targetRank;
    }

    public Integer getHaveTest() {
        return haveTest;
    }

    public void setHaveTest(Integer haveTest) {
        this.haveTest = haveTest;
    }

    public String getIntroduction() {
        return introduction;
    }

    public void setIntroduction(String introduction) {
        this.introduction = introduction;
    }

    @Override
    public String toString() {
        return "ChapterWebDto [id=" + id + ", name=" + name + ", rank=" + rank + ", limitDay=" + limitDay
                + ", studyHour=" + studyHour + ", haveTest=" + haveTest + ", lessons=" + lessons
                + ", courseId=" + courseId + ", personalCourseId=" + personalCourseId + ", introduction="
                + introduction + ", originRank=" + originRank + ", targetRank=" + targetRank + "]";
    }

}
